load("//tools:cpplint.bzl", "cpplint")

package(default_visibility = ["//visibility:public"])

cc_library(
    name = "roi_boundary_filter",
    srcs = [
        "roi_boundary_filter.cc",
    ],
    hdrs = [
        "roi_boundary_filter.h",
    ],
    deps = [
        "//cyber",
        "//modules/perception/base:point_cloud",
        "//modules/perception/common/geometry:common",
        "//modules/perception/lib/config_manager",
        "//modules/perception/lidar/lib/interface:base_object_filter",
        "//modules/perception/proto:roi_boundary_filter_config_proto",
        "@eigen",
    ],
)

cc_test(
    name = "roi_boundary_filter_test",
    size = "small",
    srcs = [
        "roi_boundary_filter_test.cc",
    ],
    deps = [
        ":roi_boundary_filter",
        "//modules/perception/common:perception_gflags",
        "@gtest//:main",
    ],
)

cpplint()
